package as.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanGetter {
	private static ApplicationContext ctx=new  FileSystemXmlApplicationContext(
	"WebRoot/WEB-INF/applicationContext.xml");
	public static Object get(String name){
		return ctx.getBean(name);
		
	}
}
